package cn.ulc.socket.admin.service.member;

import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.admin.model.dto.member.MemberDTO;
import cn.ulc.socket.admin.model.dto.member.MemberListDTO;
import cn.ulc.socket.admin.model.param.member.MemberSaveParam;
import cn.ulc.store.entity.user.Member;

import java.util.List;
import java.util.Map;

public interface MemberServ {

    Map<String,Object> findStat(Long companyId, String beginDate, String endDate);

    Map<String,Object> findTodayOrderStat(Long companyId);

    MemberListDTO findList(String key, PaginationParam param);

    Boolean deleted(Long id);

    MemberDTO findDetail(Long id);

    Boolean save(MemberSaveParam param);

    Boolean update(Long id, MemberSaveParam param);

    List<Member> findList();

}
